package com.chenfan.process.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuming
 * @date 2022/3/3
 */
@Data
public class StartApprovalDTO {

    @ApiModelProperty(value = "业务ID", required = true)
    private Long businessId;

    @ApiModelProperty(value = "发起者ID", example = "1", hidden = true, required = true)
    private Long userId;

    @ApiModelProperty(value = "发起者名称", example = "大明", hidden = true, required = true)
    private String userName;

    @ApiModelProperty(value = "指定的用户ID", example = "1", hidden = true)
    private Long nextUserId;

    @ApiModelProperty(value = "指定的用户名称", example = "大明", hidden = true)
    private String nextUserName;

    @ApiModelProperty(value = "业务参数", example = "{\"id\": \"1\"}")
    private String param;

    @ApiModelProperty(value = "检查参数, 发起时有条件分支需要传递", example = "{\"brandId\": \"1\"}")
    private String checkField;

    @ApiModelProperty("业务code")
    private String businessCode;

    @ApiModelProperty(value = "待办参数")
    private String businessParam;
}
